#include "Pen.h"

namespace drawing {

	Pen::Pen( const Color& color, int width, PenStyle style ) :
		m_color( color ),
		m_width( width ),
		m_style( style )
	{}

	Pen::Pen( const Pen& pen ) :
		m_color( pen.m_color ),
		m_width( pen.m_width ),
		m_style( pen.m_style )
	{}

	Pen::~Pen() {}

	Pen& Pen::operator=( const Pen& other ) {
		if( this == &other ) return *this;

		m_color = other.m_color;
		m_width = other.m_width;
		m_style = other.m_style;

		return *this;
	}
}
